package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface ChannelService extends IService<AdChannel> {

    ResponseResult<AdChannel> findByNameAndPage(ChannelDTO channelDTO);

    ResponseResult saveChannel(AdChannel adChannel);

    ResponseResult updateChannel(AdChannel adChannel);

    ResponseResult deleteChannel(Integer id);
}
